package ch.cryptobox.nfsError;

public class CreateFileException extends Exception{
	private static final long serialVersionUID = 1L;

	private final String name;
	private final int status;

	public CreateFileException(final String name, final int status)
	{
		this.status=status;
		this.name=name;
	}

	public String toString()
	{
		return "Error on create file/folder \""+name+"\" with error code "+status;
	}
}
